#include<stdio.h>

int main()
{
	int n,i;
	scanf("%d",&n);
	for (i=1;i<=n;i++)
	{
		int x,y;
		scanf("%d%d",&x,&y);
		if ((x%2==0)&&(y%2==0)&&((x==y)||(x-y==2)))
			printf("%d\n",x+y);
		else if ((x%2==1)&&(y%2==1)&&((x==y)||(x-y==2)))
			printf("%d\n",x+y-1);
		else
			printf("No Number\n");
	}
	return 0;
} 
